package serial.codec

interface CodecType {

    fun encode(buf: ByteArray, index: Int)
    fun decode(buf: ByteArray, index: Int)
    fun size(): Int
}



